package com.zb.stu.service.impl;

import com.zb.stu.dao.StandardDao;
import com.zb.stu.entity.Standard;
import com.zb.stu.service.StandardService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by user on 2018/11/27.
 */
@Service
@Transactional
public class StandardServiceImpl implements StandardService {
    @Autowired
    private StandardDao dao;
    @Override
    public List<Standard> listStandard(String name) {
        return dao.listStandard(name);
    }
}
